package com.yoyo.itravel.bean;

import java.io.Serializable;

/**
 * @Description 景点图片实体类
 *
 * @author HZX
 * @date 2020/5/14 13:17
 */
public class SightImg implements Serializable {

    private String sightImgId; // 景点图片id
    private String imgPath; // 景点图片路径

    private String sightId; // 图片所属景点id
    private Sight sight; // 图片所属景点对象

    public SightImg() {
    }

    public SightImg(String sightImgId, String imgPath, String sightId) {
        this.sightImgId = sightImgId;
        this.imgPath = imgPath;
        this.sightId = sightId;
    }

    public String getSightImgId() {
        return sightImgId;
    }

    public void setSightImgId(String sightImgId) {
        this.sightImgId = sightImgId;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getSightId() {
        return sightId;
    }

    public void setSightId(String sightId) {
        this.sightId = sightId;
    }

    public Sight getSight() {
        return sight;
    }

    public void setSight(Sight sight) {
        this.sight = sight;
    }

    @Override
    public String toString() {
        return "SightImg{" +
                "sightImgId='" + sightImgId + '\'' +
                ", imgPath='" + imgPath + '\'' +
                ", sightId='" + sightId + '\'' +
                ", sight=" + sight +
                '}';
    }
}
